home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / USBSampleStorageDriver / UnitTableDriver / USB_ShimServicesSupport.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-25  |  720 b   |  26 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        USB_ShimServicesSupport.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Version:    xxx put version here xxx
  7.  
  8.     Copyright:    © 1999 by Apple Computer, Inc., all rights reserved.
  9. */
  10.  
  11. #pragma once
  12.  
  13. #include "StorageClassPublicAPI.h"
  14.  
  15. extern void     SetShimDispatchTable( DriverRefNum drvrRefNum, StorageClassShimDispatchTablePtr newValue );
  16.  
  17. // Functions to display the dialogs provided by the Shim
  18. extern void     ShowPleaseEjectMediaDialog( void );
  19. extern void     ShowUnusableMediaDialog( void );
  20.  
  21. // Functions to send events to the shim, these may cause dialogs to be displayed
  22. extern void     SendMediaWasRemovedEvent( void );
  23.  
  24. // Tell the shim to remove the currently displayed dialog
  25. extern void        RemoveCurrentDialog ( void );
  26.